#ifndef _NODE_H_
#define _NODE_H_

#include "include.h"
#include "Structural.h"

class Node {
private:
	std::vector<Structural*> structural;
	//std::vector<Shear> shear;
	//std::vector<Bend> bend;
	Vector3f position;
	Vector3f prevpos;
	Vector3f velocity;
	Vector3f acceleration;
	float m;
public:
	Node(Vector3f pos, float mass);
	~Node();

	void Update(float frameTime);
	void AddStructural(Structural *spring);
	//void AddShear(Shear *spring);
	//void AddBend(Bend *spring);
	Vector3f getPosition() const;
	Vector3f getVelocity() const;
};

#endif
